<?php
class Register_Index_Model extends NICED_Model
{
	public function register($user_name, $password, $email)
	{
        require_once(DIR_LIBRARY."orm".DS."accout".DS."accout.php");
        $user = Accout::register($user_name, $password, $email);
        $this->set("user", $user);

        return true;
	}

}//end class
